package demo.generics;

public class ProcessService {
 
	
	public enum ItrType {
		ITR1,ITR2,ITR3,ITR4,ITR4S,ITR5
	}
	
	//private static String currency=MyCurrency.DOLLER;
	private static  Currency currency;
	
	 public static void main(String[] args) {
		
		 ItrType itrtype=ItrType.valueOf("ITR1");
		 switch (itrtype) {
		case ITR1:
			

			break;

		case ITR2:
			
			break;

		case ITR3:
			
			break;

		default:
			break;
		}
		 
		 
		 
		// currency=MyCurrency.RUPPEES;
		//="abc..";
		 currency=Currency.DOLLER;
		 currency=Currency.RUPPES;
		  System.out.println(currency);

		  for (Currency currency : Currency.values()) {
			
			  System.out.println(currency +" "+currency.value );
		}
		  
   Currency currency2=Currency.valueOf("RUPPES1");
    System.out.println(currency2);
	 
	 }
	
}
